package com.example.securitydemo2;

import org.springframework.context.annotation.Bean;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.web.bind.annotation.Mapping;


public interface UserRepository extends JpaRepository<User, Integer> {
    User findByUsername(String username);
}
